package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class SetAllElementToSomeOne {
	public static <T> T[] fill(final T[] array, final T value) {
		for (int i = 0; i < array.length; i++) {
			array[i] = value;
		}
		return array;
	}
}
